<extend name="Base/common"/>
<block name="body">
    <style type="text/css">
        .text-item{
            width: 30%;
        }
        .text-item1{
            width: 30%;
        }
        .btn1{
            margin-left: 100px;
        }
        h1{
            font-size: 20px;
            color:#009688;
            margin-left: 30px;
            margin-bottom: 30px;
        }
    </style>
    <h1><b>修改配置</b></h1>
    <form class="layui-form" action="__SELF__" method="post">
        <input value="{$conf.id}"  type="hidden" name="id" lay-verify="title" autocomplete="off"  class="layui-input">
        <div class="layui-form-item text-item">
            <label class="layui-form-label">配置名称</label>
            <div class="layui-input-block">
                <input disabled value="{$conf.name}" type="text" name="name" lay-verify="title" autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item text-item">

            <div class="layui-inline">
                <label class="layui-form-label">配置值</label>
                <div class="layui-input-inline">
                    <input value="{$conf.value}"  type="text" name="value" autocomplete="off" class="layui-input">
                </div>
            </div>
        </div>
        <div class="layui-form-item text-item">
            <label class="layui-form-label">配置说明</label>
            <div class="layui-input-block">
                <input  value="{$conf.title}" type="text" name="title" lay-verify="title" autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">

        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">状态</label>
            <div class="layui-input-block">
                <input value="{$conf.status}" type="checkbox" checked="" name="status" lay-skin="switch" lay-filter="switchTest" lay-text="打开|关闭">
            </div>
        </div>
        <div class="layui-form-item">
            <div class="layui-form-item">
                <br>

                <div class="layui-form-item layui-form-text text-item1">
                    <label class="layui-form-label">详细配置说明</label>
                    <div class="layui-input-block">
                        <textarea  placeholder="请输入内容" class="layui-textarea" name="remark">{$conf.remark}</textarea>
                    </div>
                </div>
                <div class="btn1">
                    <input type="submit" class="layui-btn layui-btn-big" value="保存更改">
                </div>
            </div>
        </div>
    </form>

</block>